package com.snail.poker.dao;

import com.snail.poker.model.Equipment;
import com.snail.poker.web.bean.PageBean;

/**
 * 设备登录平台记录的接口定义
 * 
 * @author Snail
 * 
 */
public interface EquipmentDao {
	/**
	 * 记录登录平台的设备信息
	 * 
	 * @param equipment
	 * @throws Exception
	 */
	public abstract void addEquipment(Equipment equipment) throws Exception;

	/**
	 * 更改设备在线状态
	 * 
	 * @param status
	 * @throws Exception
	 */
	public abstract void changeStatus(int equipmentSn, int status)
			throws Exception;

	/**
	 * 查询登录平台的设备列表
	 * 
	 * @return
	 */
	public abstract PageBean queryEquipment();
}
